<?php defined('TSTP_PACKAGE') or die('forbidden');


/**
* MLT Web Engine
* http://www.molotsoft.ru
*
* @package MLT_WE
* @subpackage Test_Types
* @author Ivan Chistyakov <ivan@molotsoft.ru>
* @version $Id: unsigned_numeric.tstp.php 246 2009-05-24 14:38:07Z molotsoft@gmail.com $
* @link $HeadURL: http://test-types.googlecode.com/svn/tags/latest/types/numeric/unsigned_numeric.tstp.php $
*/


function tstp_unsigned_numeric($var) {
	return is_numeric($var) && ((float)$var >= 0.0);
}

function tstp_unumeric($var) { return tstp_unsigned_numeric($var); }
function tstp_unum($var) { return tstp_unsigned_numeric($var); }
function tstp_un($var) { return tstp_unsigned_numeric($var); }


?>